@extends('admin.layouts.default')
@section('content')
    <form action="{{route('admin.role.store')}}" method="post">
        @csrf
        <div class="card">
            <div class="card-body">
                <ul class="nav nav-tabs nav-overflow header-tabs">
                    <li class="nav-item">
                        <a href="{{route('admin.role.index')}}" class="nav-link  pb-3 ">
                            角色列表
                        </a>
                    </li>
                    <li class="nav-item">
                        <a href="{{route('admin.role.create')}}" class="nav-link pb--3 active ">
                            添加角色
                        </a>
                    </li>
                </ul>
            </div>
            <div class="card-body">
                <div class="form-group">
                    <label for="name">角色名称</label>
                    <input type="text" name="name" id="name" class="form-control" value="{{old('name')}}" >
                    <small id="helpId" class="text-muted">角色名称 <strong>(添加后就不能再修改)</strong></small>
                </div>
                <div class="form-group">
                    <label for="describe">角色描述</label>
                    <input type="text" name="title" id="describe" class="form-control" value="{{old('title')}}">
                    <small id="helpId" class="text-muted">角色中文描述</small>
                </div>
            </div>
            <div class="card-footer text-muted">
                <button class="btn btn-sm btn-primary">确定提交</button>
            </div>
        </div>
    </form>
@endsection
